package io.lvdaxian.middleware.db.router.test.infrastructure.dao;

import io.lvdaxian.middleware.db.router.annotation.DBRouter;
import io.lvdaxian.middleware.db.router.test.infrastructure.po.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IUserDao {
  @DBRouter(key = "userId")
  User queryUserInfoByUserId(User req);
  
  @DBRouter(key = "userId")
  void insertUser(User req);
}
